import request from "@/utils/request";
//分页查询
export const  suringallApi=(ownerName,page,size)=>request.get(`/owner/page?page=${page}&size=${size}&ownerName=${ownerName}`)

//添加
export const addserve=(data)=>request.post(`/owner`,data)

//根据id查询
export const getidserve=(id)=>request.get(`/owner/${id}`)

//修改
export const updateserve=(data)=>request.put(`/owner`,data)

//批量删除
export const removeids=(id)=>request.delete(`/owner/${id}`)